/*
 * Copyright (C) 2018 Logos Technology Ltd.
 */

package com.logos.tool.location;

/**
 * @author Young Ken
 * 定位
 */
public interface IMapLocationOperation {

    /**
     * 开始
     */
    void start();

    /**
     * 停止
     */
    void stop();

    /**
     * 销毁
     */
    void destroy();

    /**
     * 跟随
     *
     * @param bool boolean
     */
    void follow(boolean bool);

    /**
     * 是否开始
     *
     * @return bool
     */
    @Deprecated
    boolean isStart();

    /**
     * 是否跟随
     *
     * @return bool
     */
    boolean isFollow();

    /**
     * set map location changed listener
     *
     * @param mapLocationChangedListener IMapLocationChangedListener
     */
    void setMapLocationChangedListener(IMapLocationChangedListener
                                               mapLocationChangedListener);
}
